package com.ocom.common.entity.master;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "company_key_info")
public class EntityCompanykeyInfo implements Serializable {
    private static final Long serialVersionUID = 1570798416486016171L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Long comId;
    private String publicKey;
    private String privateKey;
    private String secretKey;
    private String commKey;
    private String validDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date  createTime;

}
